package com.neuedu.service;

import com.alipay.api.AlipayApiException;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.neuedu.entity.PmsRegist;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletRequest;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 挂号表 服务类
 * </p>
 *
 * @author 王禹
 * @since 2025-08-08
 */
public interface PmsRegistService extends IService<PmsRegist> {
    String add(PmsRegist pmsRegist, Long openId) throws AlipayApiException, JsonProcessingException;
    List<PmsRegist> list(Long open_id, LocalDate registDate, Byte active);
    Boolean updatePay(String registerNo, byte active);
    List<PmsRegist> getRegisterByDoctorId(Long openId, Byte registTime);
}
